Unable to convert a string tuple into a regular tuple in python